FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER detech

RUN mkdir -p /sbom
RUN mkdir -p /sbom/logs
RUN mkdir -p /sbom/temp

WORKDIR /sbom

EXPOSE 8080

ADD ./target/sbom.jar ./app.jar

ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
